/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ejb;

import entities.User;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author ervaka
 */
@Local
public interface UserBeanLocal {
    User findByEmail(String email);
    User findByCredentials(String email, String password);
    User insert(User user);
    User update(User user);
    List<User> findAll();
}
